<script src="js/socket.io.min.js"></script>
<script src="js/socket.io-stream.js"></script>
<script src="js/jquery.min.js"></script>
<script>
$(function () {
    var socket = io.connect('http://localhost:1234/user');
    // upload a file to the server.
   	ss(socket).on("Streaming", function(stream, data) {
   	 	stream.on('data', function (chunk) {
        	console.log('got %d bytes of data', chunk.length);
    	})
   })
});
</script>